/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.googlecode.jsimplemarket.service;

import com.googlecode.jsimplemarket.model.NStareSpatiuComercial;
import com.googlecode.jsimplemarket.repository.StareSpatiuComercialRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author Alexandru.Codescu
 */
@Service(value = "stareSpatiuComercialService")
public class StareSpatiuComercialService {
    @Autowired
    private StareSpatiuComercialRepository spatiuComercialRepository;
    
    public NStareSpatiuComercial findByCod(String cod) {
        return spatiuComercialRepository.findByCod(cod);
    }
}
